import request from "@/utils/request";

// 投诉列表
export function getComplainList(params) {
  return request({
    url: '/system/complain/list',
    method: 'get',
    params
  })
}

// 投诉删除
export function complainDel(ids) {
  return request({
    url: '/system/complain/' + ids,
    method: 'delete'
  })
}

// 投诉处理
export function complainHandle(params) {
  return request({
    url: '/system/complain/handle',
    method: 'get',
    params
  })
}

// 导出
export function exportHandle(params) {
  return request({
    url: '/system/complain/export',
    method: 'get',
    params
  })
}
